package org.example.springcache.service;

import org.example.springcache.domain.User;
import org.springframework.stereotype.Service;


public interface IUserService {

    //通过id获取用户
    User getUserById(int id);

    User update(User user);

    void delete(int id);
}
